projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bef098a
)
tools: Compile xentop only if curses are available.
author
Keir Fraser
<keir.fraser@citrix.com>
Tue, 4 Mar 2008 13:29:36 +0000
(13:29 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Tue, 4 Mar 2008 13:29:36 +0000
(13:29 +0000)
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
tools/xenstat/Makefile
patch
|
blob
|
history
diff --git
a/tools/xenstat/Makefile
b/tools/xenstat/Makefile
index 1daa628bcbca8158aa914a1038915597dcb2d694..5fc3b52df514fead276b8592ea47449fa76915c0 100644
(file)
--- a/
tools/xenstat/Makefile
+++ b/
tools/xenstat/Makefile
@@
-6,8
+6,10
@@
SUBDIRS += libxenstat
# This doesn't cross-compile (cross-compile environments rarely have curses)
ifeq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
+ifeq ($(wildcard /usr/include/curses.h),/usr/include/curses.h)
SUBDIRS += xentop
endif
+endif
.PHONY: all install clean